@charset"utf-8";
* {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

.carousel {
    position: relative;
    margin: 200px auto;
    width: 520px;
    height: 280px;
    background-color: lightgreen;
    .imgBox {
        ul {
            display: flex;
            // overflow: hidden;
            li {
                position: absolute;
            }
            .front {
                z-index: 900;
            }
        }
    }
    .previous,
    .next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 25px;
        line-height: 70px;
        background-color: rgba(0, 0, 0, .2);
        text-align: center;
        font-size: 30px;
        cursor: pointer;
        z-index: 999;
    }
    .previous {
        left: 0;
    }
    .next {
        right: 0;
    }
    .circle {
        position: absolute;
        top: 300px;
        left: 50%;
        transform: translateX(-50%);
        width: 140px;
        height: 30px;
        background-color: rgba(0, 0, 0, .3);
        border-radius: 15px;
        ul {
            margin-top: 7px;
            display: flex;
            justify-content: space-around;
            align-items: center;
            li {
                width: 15px;
                height: 15px;
                background-color: #fff;
                border-radius: 50%;
                cursor: pointer;
                &:first-child {
                    background-color: orange;
                }
                &:hover {
                    background-color: orange;
                }
            }
        }
    }
}